<template>
  <p>{{msg}}</p>
</template>

<script>
export default { //配置对象与vue一致
  name: "helloWorld",
  data () { //必须写函数
    return {
      msg: 'Hello Vue Components'
    }
  }
}
</script>

<style scoped>
  .msg {
    color: red;
    font-size: 30px;
  }
</style>
